


var path = require('path');
var isDevelopment = process.env.NODE_ENV == "development" ? true : false;
exports.config = {
    login: isDevelopment ? { "host": 'xc.niefengjun.cn', "database": 'new_schema', "port": 3306, "user": 'root', "password": "XIANGcheng@508", insecureAuth: true} :
    { "host": '127.0.0.1', "database": 'new_schema', "port": 3306, "user": 'rrxweb', "password": "rrxmifen517", insecureAuth: true},//数据库连接
    new_table: isDevelopment ? { "host": 'xc.niefengjun.cn', "database": 'new_schema', "port": 3306, "user": 'root', "password": "XIANGcheng@508", insecureAuth: true} :
    { "host": '127.0.0.1', "database": 'new_schema', "port": 3306, "user": 'rrxweb', "password": "rrxmifen517", insecureAuth: true},//数据库连接

    AppId: "wxaf5347a2fe8adeb3",
    AppSecret: "f7f494d77bcaaa6d44694988355c6603",
    weixinurl: "http://weixin.mifen517.com",
    secret: 'c1c7b131-1a97-47fe-94e0-6dc98adcf4f2', //cooke密钥
    shoplist:'http://shop.mifen517.com/',
    host: 3000 //启动端口
};